package com.team1.manager.student.action;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;

import com.team1.core.action.BaseAction;
import com.team1.manager.student.entity.Student;
import com.team1.manager.student.service.StudentService;

public class StudentAction extends BaseAction {
	@Resource
	private StudentService studentService;
	public String show(){
		List<Student> list = studentService.findObjects();
		System.out.println(list.size());
		return SUCCESS;
	}
	public String studentUI(){
		return "studentUI";
	}
}
